package com.gency.subscribe.model.system;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
/**
 * <p>
 * 
 * </p>
 *
 * @author 马行空
 * @since 2018-06-17
 */
@TableName("sys_policy_base")
public class PolicyBase extends Model<PolicyBase> {

    private static final long serialVersionUID = 1L;

    /**
     * 数据编号
     */
	private Long id;
    /**
     * 政策标题
     */
	private String title;
    /**
     * 适用一级城市编码（0为适用于所有）
     */
	private Long fist_city;
    /**
     * 一级城市名称
     */
	private String fist_city_name;
    /**
     * 适用于二级城市返回（0为适用所有）
     */
	private Long secen_city;
    /**
     * 二级城市名字
     */
	private String secen_city_name;
    /**
     * 适用于三级城市范围（0为适用于所有）
     */
	private Long threed_city;
    /**
     * 三级城市名称
     */
	private String threed_city_name;
    /**
     * 主管部门Id
     */
	private Long competent_department;
    /**
     * 主管部门名称
     */
	private String competent_department_name;
    /**
     * 申报部门ID
     */
	private Long declaration_departmnt;
    /**
     * 申报部门名称
     */
	private String declaration_departmnt_name;
    /**
     * 咨询部门
     */
	private Long advisory_department;
    /**
     * 咨询部门名称
     */
	private String advisory_department_name;
    /**
     * 咨询部门电话号码
     */
	private String advisory_tel;
    /**
     * 享受政策
     */
	private String enjoy_the_policy;
    /**
     * 申报条件
     */
	private String conditions_of_declaration;
    /**
     * 项目后续管理
     */
	private String project_follow_up_management;
    /**
     * 所属一级企业（0为适用于所有企业）
     */
	private String fist_enterprise;
    /**
     * 一级企业名称
     */
	private String fist_enterprise_name;
    /**
     * 政策适用于二级企业（0为适用于所有二级企业）
     */
	private String secend_enterprise;
    /**
     * 二级企业名称
     */
	private String secend_enterprise_name;
    /**
     * 适用于三级企业（0为适用于所有三级企业）
     */
	private String threed_enterprise;
    /**
     * 三级企业名称
     */
	private String threed_enterprise_name;
    /**
     * 适用于四级企业编号（0为适用于所有）
     */
	private String fuor_enterprise;
    /**
     * 三级企业名称
     */
	private String fuor_enterprise_name;
    /**
     * 1:大型 2：中型 3：小型 4：微型
     */
	private Integer enterprise_scale;
	
	
	private Integer flag_open;//0:开启 1:关闭
    /**
     * 申报开始时间
     */
	private Date beg_time;
	
	@TableField(exist=false)
	private String beg_times;
    /**
     * 申报结束时间
     */
	private Date end_time;
	@TableField(exist=false)
	private String end_times;
	
    /**
     * 政策创建时间
     */
	private String create_time;
    /**
     * 排序编号 越大越前
     */
	private Integer sort;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getFist_city() {
		return fist_city;
	}

	public void setFist_city(Long fist_city) {
		this.fist_city = fist_city;
	}

	public String getFist_city_name() {
		return fist_city_name;
	}

	public void setFist_city_name(String fist_city_name) {
		this.fist_city_name = fist_city_name;
	}

	public Long getSecen_city() {
		return secen_city;
	}

	public void setSecen_city(Long secen_city) {
		this.secen_city = secen_city;
	}

	public String getSecen_city_name() {
		return secen_city_name;
	}

	public void setSecen_city_name(String secen_city_name) {
		this.secen_city_name = secen_city_name;
	}

	public Long getThreed_city() {
		return threed_city;
	}

	public void setThreed_city(Long threed_city) {
		this.threed_city = threed_city;
	}

	public String getThreed_city_name() {
		return threed_city_name;
	}

	public void setThreed_city_name(String threed_city_name) {
		this.threed_city_name = threed_city_name;
	}

	public Long getCompetent_department() {
		return competent_department;
	}

	public void setCompetent_department(Long competent_department) {
		this.competent_department = competent_department;
	}

	public String getCompetent_department_name() {
		return competent_department_name;
	}

	public void setCompetent_department_name(String competent_department_name) {
		this.competent_department_name = competent_department_name;
	}

	public Long getDeclaration_departmnt() {
		return declaration_departmnt;
	}

	public void setDeclaration_departmnt(Long declaration_departmnt) {
		this.declaration_departmnt = declaration_departmnt;
	}

	public String getDeclaration_departmnt_name() {
		return declaration_departmnt_name;
	}

	public void setDeclaration_departmnt_name(String declaration_departmnt_name) {
		this.declaration_departmnt_name = declaration_departmnt_name;
	}

	public Long getAdvisory_department() {
		return advisory_department;
	}

	public void setAdvisory_department(Long advisory_department) {
		this.advisory_department = advisory_department;
	}

	public String getAdvisory_department_name() {
		return advisory_department_name;
	}

	public void setAdvisory_department_name(String advisory_department_name) {
		this.advisory_department_name = advisory_department_name;
	}

	public String getAdvisory_tel() {
		return advisory_tel;
	}

	public void setAdvisory_tel(String advisory_tel) {
		this.advisory_tel = advisory_tel;
	}

	public String getEnjoy_the_policy() {
		return enjoy_the_policy;
	}

	public void setEnjoy_the_policy(String enjoy_the_policy) {
		this.enjoy_the_policy = enjoy_the_policy;
	}

	public String getConditions_of_declaration() {
		return conditions_of_declaration;
	}

	public void setConditions_of_declaration(String conditions_of_declaration) {
		this.conditions_of_declaration = conditions_of_declaration;
	}

	public String getProject_follow_up_management() {
		return project_follow_up_management;
	}

	public void setProject_follow_up_management(String project_follow_up_management) {
		this.project_follow_up_management = project_follow_up_management;
	}

	

	public String getFist_enterprise_name() {
		return fist_enterprise_name;
	}

	public void setFist_enterprise_name(String fist_enterprise_name) {
		this.fist_enterprise_name = fist_enterprise_name;
	}

	
	public String getSecend_enterprise_name() {
		return secend_enterprise_name;
	}

	public void setSecend_enterprise_name(String secend_enterprise_name) {
		this.secend_enterprise_name = secend_enterprise_name;
	}



	public String getThreed_enterprise_name() {
		return threed_enterprise_name;
	}

	public void setThreed_enterprise_name(String threed_enterprise_name) {
		this.threed_enterprise_name = threed_enterprise_name;
	}

	public String getFist_enterprise() {
		return fist_enterprise;
	}

	public void setFist_enterprise(String fist_enterprise) {
		this.fist_enterprise = fist_enterprise;
	}

	public String getSecend_enterprise() {
		return secend_enterprise;
	}

	public void setSecend_enterprise(String secend_enterprise) {
		this.secend_enterprise = secend_enterprise;
	}

	public String getThreed_enterprise() {
		return threed_enterprise;
	}

	public void setThreed_enterprise(String threed_enterprise) {
		this.threed_enterprise = threed_enterprise;
	}

	public String getFuor_enterprise() {
		return fuor_enterprise;
	}

	public void setFuor_enterprise(String fuor_enterprise) {
		this.fuor_enterprise = fuor_enterprise;
	}

	public String getFuor_enterprise_name() {
		return fuor_enterprise_name;
	}

	public void setFuor_enterprise_name(String fuor_enterprise_name) {
		this.fuor_enterprise_name = fuor_enterprise_name;
	}

	public Integer getEnterprise_scale() {
		return enterprise_scale;
	}

	public void setEnterprise_scale(Integer enterprise_scale) {
		this.enterprise_scale = enterprise_scale;
	}

	public Date getBeg_time() {
		return beg_time;
	}

	public void setBeg_time(Date beg_time) {
		this.beg_time = beg_time;
	}

	public String getBeg_times() {
		return beg_times;
	}

	public void setBeg_times(String beg_times) {
		this.beg_times = beg_times;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public String getEnd_times() {
		return end_times;
	}

	public void setEnd_times(String end_times) {
		this.end_times = end_times;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	public Integer getFlag_open() {
		return flag_open;
	}

	public void setFlag_open(Integer flag_open) {
		this.flag_open = flag_open;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Policy_base{" +
			"id=" + id +
			", title=" + title +
			", fist_city=" + fist_city +
			", fist_city_name=" + fist_city_name +
			", secen_city=" + secen_city +
			", secen_city_name=" + secen_city_name +
			", threed_city=" + threed_city +
			", threed_city_name=" + threed_city_name +
			", competent_department=" + competent_department +
			", competent_department_name=" + competent_department_name +
			", declaration_departmnt=" + declaration_departmnt +
			", declaration_departmnt_name=" + declaration_departmnt_name +
			", advisory_department=" + advisory_department +
			", advisory_department_name=" + advisory_department_name +
			", advisory_tel=" + advisory_tel +
			", enjoy_the_policy=" + enjoy_the_policy +
			", conditions_of_declaration=" + conditions_of_declaration +
			", project_follow_up_management=" + project_follow_up_management +
			", fist_enterprise=" + fist_enterprise +
			", fist_enterprise_name=" + fist_enterprise_name +
			", secend_enterprise=" + secend_enterprise +
			", secend_enterprise_name=" + secend_enterprise_name +
			", threed_enterprise=" + threed_enterprise +
			", threed_enterprise_name=" + threed_enterprise_name +
			", fuor_enterprise=" + fuor_enterprise +
			", fuor_enterprise_name=" + fuor_enterprise_name +
			", enterprise_scale=" + enterprise_scale +
			", beg_time=" + beg_time +
			", end_time=" + end_time +
			", create_time=" + create_time +
			", sort=" + sort +
			"}";
	}
}
